package me.maoma.demo;

public class Test4 {
    public static void main(String[] args) {
        int a = 100;
        int b = 10;
        int count = 0;
        while (a >= b) {
            a = a /b;
            count++;
        }
        System.out.println(a);
        System.out.println(count);
    }
}
